package com.sannuo.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = -2742942687374398531L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;         //序号
    private String username;    //用户名
    private String password;    //密码
    private Integer sex;        //性别
    private String sign;        //签名
    private Integer integral;   //积分
    private Integer score;      //评分
    private String classify;    //职业
    private Integer wealth;     //财富
    private String photo;       //头像

    private String address;     //地址

    private String content;     //内容
    private Integer state;      //状态


}
